package com.ss.controller;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.alibaba.fastjson.JSON;

@Controller
public class RedirectController {
	private static final Logger logger = Logger
			.getLogger(RedirectController.class);

	@RequestMapping(value = "/index")
	public String onIndex() {
//		logger.info("come to ehere");
		return "index";
	}
	
	@RequestMapping("/mydesktop")
	public String hello(){
//		System.out.println("cometoshowuser");
		
//		request.setAttribute("ok", "123");
//		logger.warn(JSON.toJSONStringWithDateFormat("hi", "yyyy-mm-dd MM:ss:ss"));
		return "mydesktop";
	}


}
